import { _decorator, Component, Node } from 'cc';
import { HttpCom } from './net/HttpCom';
const { ccclass, property } = _decorator;

@ccclass('TestAPI')
export class TestAPI extends Component {
    start() {

    }

    update(deltaTime: number) {
        
    }

    upgradeInfo(){
        HttpCom.upgradeInfo();

    }

    unlock(){
        HttpCom.unlock();
    }

    upgradeWeapon(){
        HttpCom.upgradeWeapon();
    }

    getUnlockPrice(){
        HttpCom.getUnlockPrice();
    }


    getWeapon(){
        HttpCom.getWeapon();
    }
}


